I am using Visual Studio I have spent hours trying to read a file readMe = open('dq_unisex_names.csv', 'r').read() print(readMe) nothing prints no errors
You must be logged in to post. Please login or register an account.
Try using the Python GUI or using Pycharm. It will work fine on it.
-sagarvk90 9 years ago
You must be logged in to post. Please login or register an account.
I guess the open function does only work with textfiles. If you use .csv files python will propably not be able to open it. I think the csv module can help there..
-NearCZ 9 years ago
You must be logged in to post. Please login or register an account.
It works fine. Python opens the. Csv file as well.
-sagarvk90 9 years ago
You must be logged in to post. Please login or register an account.